package com.bw.ppjokeplay.commen.mvvm.view

import android.os.Bundle

/**
 * @author Lishaohe
 * @description:
 * @date :2021/11/9 0009 下午 6:28
 *
 */
interface IView {

    //显示隐藏dialog
    fun showDialog()

    fun hideDialog()

    //错误提示
    fun showMsg(msg : String)

    //跳转页面
    fun startPage(clazz : Class<*>,bundle: Bundle)

    //关闭页面
    fun finishPage()

    //绑定布局
    fun bindLayout():Int

    //初始化ViewModel
    fun initViewModel()

    //绑定databinding
    fun bindDataBinding()

    //viewmnodel 设置到xml
    fun initVerable():Int
}